ticket:6 fixed broken tests, removed debug output