Added tests for wrong EC curves.