Adding coverage and javadoc