renamed test.py more clearly to test_discharge.py