Added Testcases, Changed up getPage to send data in request