add tests, coveralls and packagist badges