Added Complete tests for the Factory, added functionality to Factory checks for the tests cases that did not work. Cell tests are also complete