migrated tests to midje