Fix id method, add perltidy

Yeah, that sounds right. I think I would just make a completely new test for this case.

You are right though: The test suite does not have the best coverage.