Improve indentation and coding style.
Add tests for foreign_type attribute of ColumnInfo objects.