deprecation warnings

This fixes the ActiveRecord 4.0.0 warning about find(:first) being deprecated in favor of first, as well as the MiniTest warning about changed  class names.