Improved javadocs for test commands and minor test updates