Adds test for declaring url block twice
Removes parser / unparser dependencies

Ruby syntax checking via parser / unparser is not necessary, should be covered by specs indirectly.
Adds error message for when enum value is not found
Renames function
Removes unused function
Refactors accessing of base path