added more tests for output json