Added a unit test for JsonObjectLayout.js