Unit testing in microservices