added tests for config
added nanosecond resolution to db.strokes.get_latest_time