Check roundtripping on positions reachable from the initial
Fix bug in castling logic