added javadocs that weren't added i last commit, some small u^pdates in test cases