Added test for format code and FakeSpecification class for easy testing....

... Fixed issue with Format replacement.