handle localization of ${^SELF} and ${^CLASS} in dispatcher
tests for localization