Add tests, that check single level JSON parsing function