fix BonitaRestAPIFactoryTest