added uri testing to activity state registration parameter