Fix Resources tests