further tests refactoring and cleaning
continue working on tests refactoring and simplifying. TFactory class introduced to move creation of all objects to a single location