added testing with minitest