add test for #16
Fixes #16
Fix type parsing bug

Merge branch 'hotfix/issue-16'
Fixes #16
v0.0.14

 * Hotfix type comparing bug