Use numpy scalar object in the tests
Revive inspect_types()
Fix numpy dtypes
Remove unused code
Merge pull request #646 from sklam/fix_tests

Fixes