fix knife functional tests