Fixing an issue where an anonymous function as the last "method" in a class would cause the coverage report to ignore the rest of the lines in the parent method of the anonymous functions.  With tests.