adding tests, phpunit giving a bit of grief, need to use pear for now

looks like tests are out for now, new machine doesn't like PHPUnit and I have no time to fix ftm