Tracked down very strange changing constant based on tests usage.  An example that a = b is a reference, so b.foo = 1 means a.foo == 1.
Remove debug puts.