ENG-5712 Add negative test and fix project file handling.