Adding a lifecycle test