Refactored code of the unit tests, added a .gitignore file for node_modules.
Added a way to override the execute function with a callback.