add unit tests (issue #7)

This version introduces multiple enhancements:

added test configuration and script to run

Details of additions/deletions below:
--------------------------------------------------------------

Added:      phpunit.xml
            -- Added --
                test directory configuration

Added:      phpunit.sh
            -- Added --
                shell script to run tests