Flattened out test structure and added an example of a domain service.