add unit test, findOrCreate() meets error will block sequelize, issue 2238

issue 2238,
It will be failed currently.
Don't think this  part is needed