update models to use sequelize import
changed test for app model