Use mock from the standard library instead of a separate package.