add test factory
Merge remote-tracking branch 'origin/master'