added quit test