Fixes factory function usage
Merge pull request #2 from sagikazarmark/patch-1

Fixes factory function usage
Updates tests to use codeception
Update README.md