Tests for coverage and more

fixed phpunit.xml for coverage report seek only a library
added a data for provider
exception test
updated library