test(core.format) Added missing tests.