More robust testcaess for stack service