adding missing import to yakonfig/toplevel.py and adding a test
fake_main program for checking the three dump modes