Adding tests on how to generate json request