Extracting setUp method.
Creating class for unittests which offers a simple way to create a fake file for mocking __builtin__.open