added test for the Success case