Fixed problem with failing AnonymousStatementFunction test