Rename mock -> double

Change to remove deprecation varning