Add resource tests