code style
relations test
table test refactor