handling test accuracy