Fix signed-unsigned-warning in test