Fix test resources issue