Added tests for http service