Modularized resource testing utilities.