Updated code of MockMojioClient