Bug fix on invalid session requests on rest interface
extended mock process massage excepting deadline. So tests wont fail on very slow computers.