include a maven pom to be able to build with maven.

test is also annotated and name changed to be compatible with maven test.