Gag noisy tests

1. Remove some unnecessary `print` statements from tests.
2. Convert a purely print-based test to unittest.