Changed pom.xml for test dependency
and Added test case of charAccessor
and refacatored some test cases