Clearing stack back to a given cobtext tests