removed the integrity exception
Merge pull request #127 from Tessie/develop

removed the integrity exception
working tests
added toggle test