isaacs/st — pull request #12 by rvagg (2012-12-05 09:45:42+00:00)
Title: fix test that breaks if dates are ~1s different

This is just a fix for tests failing on the machines I run them on; eventually, testing headers fails on a `deepEquals` because the `'date'` field shows a difference of 1 second.

Solution: test the date separately, make sure the difference between them is `<1000`ms (could be more I guess but this works for me), then mask out the `'date'` field for the `deepEquals`.