Add tests for some normal cases.
Correctly handles time_field which is nested in a record field.
Merge pull request #7 from yugui/feature/add-test

Adds tests and fixes a bug in RECORD type.