remove unused require and old test-code