implemente 1st testcase
test for retrieve