Added Unit Tests
Added travis and phpunit config file
Merge pull request #7 from linestorm/tests

Added unit Tests