Add testapi_unlock.js

Test cases on unlocking signing keys.