Cover mocha tests as well

Change-Id: I8c9b4cf1855d17eb81f052b85d23b9cf5b8df192