Add test for reflow, add docs