cleans up tests for Rails 4