Add testing setup. Test pure functions

I'm not sure of the best way to test the impure functions but this
should get the project started towards test coverage.
Add testing section to readme
Remove dependency on old-time for time

This is a dependency change so you should probably bump the minor
version as you see fit.
Merge pull request #11 from MichaelXavier/remove-old-time

Remove old time