test success pattern