Add tests for Ajax call and redirect in FlashScopeTest