Bug 1052166 - Add tests for grants_db.py

Looks like Jenkins failed because pep8 requires 2 blank lines between imports and code.