add initializing variables in init-test
implement main-test
added get-class-list and get-nearest-obj