fix tests iteration