fixed binary mask test, changes params in tests
removed debug stuff