refactoring, removed empty test files, add graphicFactory tests