Rewrite minion controller test to mock client interface.