updated HttpInput test case