add minitest, and tests