update project file & write test code