added some phpunit tests and still testing