Added jython unit tests for castling.