Incrementing towards the threaded test registration code. tests-register-tests converted to cdb:tests-register-test