Tests for array push/pop