added plugin extensions.
change build.gradle to run test after install to local maven repository.
modify test sources.