Removing greybox testing and using invocation mocks instead