Adding tests, adding retry to FSM, fixing History, fixing Redirects.