Add test for pwd.