chaing accuracy to test_error