test: improve JsonMapWriterTest.php