Update unit tests to use a non-null resource.
Authored by: cdobre 2011-06-06
Parent: [r278]
Child: [r280]