fix tests warnings