How to test typed persistent actor?

This is the ticket: https://github.com/akka/akka/issues/24861