Write all test cases for get().