Added test to `test-mediacore-api.js`