Fixed minor ID validation bug.

I found a minor bug with some ID numbers that were being failed incorrectly 
(when the z-value had more than one digit)
Also removed rcov since it doesn't work with newer ruby versions.
Added a few more tests and did a bit of cleanup.