This file contains unit cases for stack.