unit test: secureAPI
coverage of secureAPI.js => 100%
Merge pull request #2 from liyu1981/dev

unit test: secureAPI (100%)