Fix incorrect JSON in tests