Fixed castling test