Add version constant and test it

This pull request adds a `VERSION` constant to the library. I also wrote a test to ensure that the `VERSION` is a valid version string and that the `DEFAULT_BASE_URL` is a valid URL.