ex4 fix tests