Testing using the declarative base class for tables