Add some tolerance to a unit test