A test case for a sequelize issue