unit test: removes nasty require