Testing separate states from domain objects