use agg in tests

w0000000000000000000000000000000000000000000000000000000000t