start adding tests for base class for sql model