Check on undefined string instead of type. Since typeof returns a string
Add test to support 0.4 URL
Merge branch 'bugfix/issue/10' into develop. closes #10