Added basic tests for struct records.