Adapted to Akka 2.2.3. All tests except one succeeds.