Added test for regular flow