Castling tests