add some tests for http methods