* Fix error when running unit tests with code coverage.
* Added Configuration trait.
* Rename some unit test files.