Added integration tests for GET and POST