Add this line as the first to be executed in your test and it will work and load the assets:
TestWidgetsFlutterBinding.ensureInitialized();
It will initialise everything before running your code and the assets will be accessible at that point.