Adding a way to configure a context to factory function
Fix for failing tests and code formatting
Merge pull request #29 from luizfilipe/master

Adding a way to configure a scope to factory function