Added runMediaPlayerTest helper function, for parity with other implementations.