Update test.api.js