update MiniTest class to fix warnings