Fix logging FSM wrapper and move logging tests down to the logging test case
Add topfile