moved tests to minitest format