Added the missing GetEndpointAttributes on sns and finished the testcases