fix deprecation warning for python 3
add coverage to gitignore
test casts
add package and import tests