Added test for stack collision.