rtmpdh: Do global initialization before running the test