Adding tests around service and new endpoints