Add some tests for formatting corner-cases