Added simple functional test, and helper function
Merge pull request #8 from ansjob/feature/functional-tests

Added simple functional test, and helper function