Various javadoc fixes plus a non-working threaded test