Added some testing and PHP Unit.