#9 - added Test factory implementation