improve the JUnit test to include tests for GET, PUT, POST and DELETE request