Shane: updates to unit tests.
Shane: added license, updated pom etc