add tests to charts