Reworked define_field_test to grab field_name from test class name