added castling test