refactored and simplified akka test