Testing domain life cycle