Fix Stack tests