try to improve testing performance while maintaining accuracy