added assertion to pet test