charts unit tests