ADDED check_pieces test