begin converting tests from tcl