errai-security: fix to include parameter types when searching for interface method, also ensured target object is mocked in tests