Bug 1052166 - Add tests for grants_db.py

Sorry I missed this last time. Imports need some reworking. Stdlib should come before project code, and `from ...` imports should come after `import ...`. It's also nice to keep imports absolute:

```python
import re
from datetime import date

from bedrock.grants.grants_db import GRANTS
```