moving test_lib into spec/support