added pair/dictionary
added pair/dictionary test cases