use same data for tests and examples, include plots in test