Extracted a method to test for geometry_columns + unit test.