fix engines prop bug, add negative test-case, and file grunt cleanup