Fix use of Rx in tests.