= play: fix ClassCastException in tests