refactoring lifecycle tests to conform more to the Akka tests