Bug 963009 - [Gaia][Build] Test coverage

how about:
```js
return (file.indexOf('.test.js') !== -1) ? true : false;
```