introducing midje, reworked tests, improvements