migrated test to minitest