routes corrected to match test, addedd missed header settings during request in test, added stub for sequelize/routes error handling