Issue 973441 2

As this is a very simple mock, I would suggest to define the mock in the test file. Just like you did in `app_storage/panel_test.js`.