Some unit tests written for charpool