add some more tests for marshal, and a time.Time type for marshal