testing knex error catching