Increase test_resources coverage

Get it up from 61% to 88%.

Change-Id: I8bdcd94df63466c96b76b963b9d9a12657c8beaa
Merge "Increase test_resources coverage"