Fix mock deprecation.
Add development dependencies
More dev stuff.