tests for Ex 2 updated