fix the DBI mocking for Schema classes