REST mock test fix