> something is wrong with this test...or with the code.

True, thanks for spotting this.