Make better test for the smooshing of values

Fix bugs found by new good test.