fixed test for dimension __tablename__