Update unit test to use subject.send(:connection)

Change-Id: I019c46d31dd299c153538058a9d533bca99e3af5