http service unit tests