Added unit tests and remove some uncessary comments for StringData