refactor playPk unit test