Adding testing utilities.