* added sonar plugin config for local execution
* fixed some warnings
* added some test coverage