fixing a bug in the asset loader unit test helper, thanks @jugglinmike