update to resources_test.py