Added `Resource.expand_uri` test and renamed some tests.