Fixed one error, one is left :-)
Fixed unittest. Error was wrong error level assumption in the test