Typo corrections and change one assert on anonymous_function