fix data_parser mistake & test the basic function of key_manager