Added logic to check whether chess pieces are pinned. Fixed bug in unit tests (using only_contains instead of contains_inanyorder)