All tests pass in Python 2 and 3.

@MathMagique Could you review this?

Also, it looks like your `const_placement` branch is integrated into `master`. Can I go ahead and delete that from the github repo?