Update ec_scripts/myslice_api_test.rb

bug fix