Add unit tests.

With the equality sign, it's actually a good test to see if it's actually the current time :)