updated with a simple test and a simple service that logs a message