Tests added to ex2-3.