added unit tests and make usuage of phpunit using composer