Fix SyslogRedirectionTest

Wait for container to exit to ensure cmd was run
and logs aren't empty which causes the test to fail.