use mock instead of remote call, closes 1174