Test cases for json generation
Check actual file contents in test cases