Commit test cases.
Various updates. Exclude doc/ from git. pom does javadoc.