BUG: change assert.equals to a quick version of 'almost equals'