Update list() test to fail under old behavior but pass under new.
Update list() test to fail under old behavior but pass under new.

jupyter/jupyterlab,jupyter/jupyterlab,jupyter/jupyterlab,jupyter/jupyterlab,jupyter/jupyterlab