some test for the lifecycle