Tests for players, and assorted fixes