added other VCD methods, and some Java tests