"""Tests for stack."""