Add test for ignore
Fix bug where doinst would be overwritten