Add release tags to the version codes.

- Rewrite some tests to use parse for clarity.