Add message logging test

Test only exists on a branch at the moment, so check to see if
reg_tests/log_output exists before trying to run