speedup some tests