Added 'after delete' trigger for view_modules table and also added tests insert and delete tests for view_modules table.