luhn.py : Implemented tests for calculating check digits