Fixed test postMessage injection. Need to implement leadership testing.