add search mode and test with systems test node using terminal input/output