Implement some service unit tests