Added time tests to test.go
Fixed compile error in io.g