Add phpunit unit testing of all functionality
Add unit testing to README