reworked properties with test.
added json to test.