Close the state connection, and run the tests.
We shouldn't attempt to UTC a zero time.
Merge pull request #110 from howbazaar/fix-factory-tests

Actually run the factory tests.

Forgot to hook up the actual tests.

Running them raised a few issues, fixed here.
 * closing the state connection
 * making sure the timestamps returned from the state.User are in UTC