RESTWS-311: Corrected test