parser test: added test for empty json text