refactored tests for assets