add more unit tests for class path conversion utility
remove duplicated method