fixed issue 1226, unused var in UITest