ignore needles directory and update test cases