fix pawns overlap and add test