remove require minitest
fix unit test error