add new version and tests
fix device type
Merge pull request #429 from mimmi20/issue-427

Fixes #427