fix changed return types
add a test
Merge pull request #46 from devoncarew/devoncarew_fix_types

Fix an issue with changed return types from element measurements