add unit recipes and midway tests