New test also runs with Python 3. Addresses #441.