add ex47. Unittest in a project.