Testing the Domain layer