Add code coverage and rename src to lib