Added test for validation with allowNull:true; closes #1276

@mickhausen You fixed #1276 with https://github.com/sequelize/sequelize/commit/9bdc1c0a4ff3145123efb8ef746813067d134315. However, I thought you might like a test to avoid future regressions.