add verifyNoOtherInvocations tests
refactor