Add stability test function.