Fix randomised testing support (upgrade junit).
Test appending vectors.
Typo fix in JavaDoc