directory browsing using CD added with tests