Suggestion: Instead of having a boolean that is volatile, have execute send a message to the testActor and do an expectMsg :)