update pointer tests, fix issue with multiple charts on same page