Test prune method instead of generate_moves