Fix failing test on jenkins.

May be I will refactor these test later. Creating util function to do the test. But, after json-keywords.