Spec helper was being required on main file instead of test