tests with http entity