Fix bug enroque
bug fix, e.p. check cache
opt in castling
mejorado make_tests.sh
deleted unused var