Add test case for #82. Passes as expected with Python 2.7, but need to test in 3