Add test cases for Get and GetDir