Unit tests for asset loader.