Added functions to remove references to WT_VAR_1.
Tidied interface in low-level tests.