converted unittests to minitest