add test and calcproject