Update friendly_time resolution and add tests

Fixes #77.