Added junit, prepare to add test cases.