Fixed 'ActiveRecord::RecordNotSaved: Failed to save the new associated service_test' in test_scripts unit test