'Test converting a SimpleTable and changing column names and types'

def test_simple_2(self):

    st = self.SimpleTable()
    dtypes = [np.int32, np.float32, np.float16]
    names = ['a', 'b', 'c']
    t = table.Table(st, dtype=dtypes, names=names, meta=OrderedDict([('c', 3)]))
    assert (t.colnames == names)
    assert all(((col.dtype.type is dtype) for (col, dtype) in zip(t.columns.values(), dtypes)))
    assert (t.meta == st.meta)
