add knife.rb for test