(somewhat) tested castling