Add functional test when no annotations for method