add autospec to mock.patch.object calls

I think we do want autospec=True on most of the mock.patch.object calls since default is False.