added composer installation instruction. corrected phpunit tests. corrected examples