add test for function get
implement many methods && add unit test