add tests with minitest