attempted to write a test for ex45.py module