testfactory added to test1.js