Added first basic Unittest.

The test framework used is PHPUnit. http://www.phpunit.de.
After downloading and setting up the package file, go to the root
directory of the project and run `phpunit tests` from the command line.