Fix validation errors with uppercase types and added tests. Fixes #46
Merge pull request #47 from vanetix/validations

Fix uppercase type validation errors