fixed import tests: warnings need to be cleared for testing