diff --git a/Mage.Tests/src/test/java/org/mage/test/cards/destroy/HideousEndTest.java b/Mage.Tests/src/test/java/org/mage/test/cards/destroy/HideousEndTest.java
new file mode 100644
index 00000000000..207371d59ab
--- /dev/null
+++ b/Mage.Tests/src/test/java/org/mage/test/cards/destroy/HideousEndTest.java
@@ -0,0 +1,31 @@
+package org.mage.test.cards.destroy;
+
+import mage.Constants;
+import org.junit.Test;
+import org.mage.test.serverside.base.CardTestBase;
+
+/**
+ * Created by IntelliJ IDEA.
+ * User: Loki
+ * Date: 16/11/11
+ * Time: 10:28 AM
+ * To change this template use File | Settings | File Templates.
+ */
+public class HideousEndTest extends CardTestBase {
+
+ @Test
+ public void testWithValidTarget() {
+ addCard(Constants.Zone.BATTLEFIELD, playerA, "Swamp");
+ addCard(Constants.Zone.BATTLEFIELD, playerA, "Swamp");
+ addCard(Constants.Zone.BATTLEFIELD, playerA, "Swamp");
+ addCard(Constants.Zone.HAND, playerA, "Hideous End");
+ addCard(Constants.Zone.HAND, playerB, "Copper Myr");
+
+ castSpell(playerA, "Hideous End");
+ addFixedTarget(playerA, "Hideous End", "Copper Myr");
+
+ execute();
+ assertPermanentCount(playerB, "Copper Myr", 0);
+ assertLife(playerB, 18);
+ }
+}
diff --git a/pom.xml b/pom.xml
index b10da3d78ad..d5ed6248205 100644
--- a/pom.xml
+++ b/pom.xml
@@ -31,6 +31,7 @@
Mage.Plugins
Mage.Server.Plugins
Mage.Server.Console
+ Mage.Tests