Update dependencies. Add Midje tests