Bug 977574 - [Search] Improve test coverage of bgimg provider.

Test coverage === 100%

Now we need a travis hook.