Issue #2303923 by Mile23: Convert examples module tests from getInfo() to annotation.