More coverage

closes #14 and fixes a python3 bug