How To Test A Python Function