test pwd and ls