run gofmt
add test for PrintDate
introduce test helpers WithFakeEnv and CaptureStdout
improve test coverage
update tests
add more specs