RESTWS-398 Fixed tests