move library requires to test_helper