refactored for composer
added phpunit.xml and removed autolaod.php
fixed typo and tests after refactor