Tests: Fix resource tests