add test coverage to user_flow_controller
fix broken spec