Fixed unittest, removed NoMoreAnonymousFunctions