Added some functional tests.
Merge pull request #6 from pluma/functional-tests

Added some functional tests