#134 Added missing tests and java docs.