Add testing utilities.