context for web-ui tests added, some ref changes