Updated test with resources