Improved test to assert the exact total number of projects.