Fix test.
Fixed function ls.