Update resources and add test.