rewrite unittests for Projects