Faster endgame, new test func