Issue 38

Added tests to test_format.py references issue #38