Stubbing validate_pieces! in tests