fix arg tests and javadocs