fixed asset count for bundle loading and added tests