fixed importerror and added to test_crab