redirect stderr to stdout when testing class-dump
redirect stderr to stdout when testing class-dump