Changed tests to MiniTest