make require work in test