add ex1 test