fixed element reference in tests