added test040_spaniter test