fix undefined method handling for regular Test::Unit testcases