Added test for proper castling