castling and limited castle testing

castle testing only covers a legal castle, does not test errors yet