Updated tests
Fixed bug with boolean mods