Includes tests with closures

Tests if the extracted documentation only includes the documentation
associated with the proper function, and not its inner functions.