Commit for ticket 255
Fixes #255. Making the code compatible with pep8. Modified both default.py
and test_default.py.