testing error_dot