improved -Wsign-compare tests
Added test that results in an output mismatch.