refactoring of test classes

extract common code to specific trait
add expansion of \jobname
add expansion of \fontname
add expansion of \meaning
add expansion of \csname ... \endcsname
add expansion of \expandafter
add expansion of \noexpand