Added the source and javadoc plugin to make sure sources and javadoc artifacts are created
renamed test
Added test using class rule