Add tests for percent format

The test that was failing previously was `expect_equal(percent(-0.6), "-60%")`