SONARPLUGINS-2351 Fix tests