Added a test for the ignored projects business
Removed the known-projects file after a test

So we don't cross pollute the tests
Corrected a wrong assertion

The code was doing the right thing, but the assertion was taking into
account the interference of other tests in the workspace.