fix schema used for tests; revert knex version to 0.5

knex 0.6 has some breaking internal changes
bluebird also fixed their npm package