Tests for custom_exceptions.py