Update resources tests for Python 3