Merge pull request #3 from brian978/master

Updated readme
Modified the PHPUnit test and improved exception throwing
Merge remote-tracking branch 'origin/develop' into develop