Reduced text repetition.
Added black castling tests.