While reviewing !1257 (closed) I realized we had no tests for text.ChompBytes. This MR adds those tests.