Added JsonSerializer test case