some minor improvement
coverage and separate config for release and debug targets