Adds a unit test for the case where a method to exclude includes an annotation. This test is still currently failing.