fix http tests to handle GET asd well as POST