How to test equation for symmetry