Extract remote control test stuff to a separate module

Closes #202.
Merge remote-tracking branch 'origin/master'