Reset state after request success or failure
Test request state