added tests for proper loading