ticket 1400 - port api tests from rspec to minitest