improve performance tests