SLING-5462 switch to comparable implementation from commons.osgi and change wrong assumptions in unit test