test.go without rigid data structure