Attempt 2. With midje for testing.