diff --git a/chorale.cabal b/chorale.cabal
--- a/chorale.cabal
+++ b/chorale.cabal
@@ -1,5 +1,5 @@
 name:           chorale
-version:        0.1.0
+version:        0.1.1
 homepage:       https://github.com/mocnik-science/chorale
 bug-reports:    https://github.com/mocnik-science/chorale/issues
 synopsis:       A module containing basic functions that the prelude does not offer
@@ -24,12 +24,29 @@
 library
   exposed-modules:
     Chorale.Common
-  hs-source-dirs:src/
+  hs-source-dirs: src/
   default-language: Haskell2010
   ghc-options:
     -Wall
     -O2
   build-depends:
-    base >= 4.8 && < 5,
-    containers >= 0.5.6,
-    safe >= 0.3.8
+    base >= 4.6 && < 5,
+    containers >= 0.5,
+    safe >= 0.3.4
+
+test-suite test
+  type: exitcode-stdio-1.0
+  main-is: Test.hs
+  hs-source-dirs: tests/
+  default-language: Haskell2010
+  build-depends:
+    base >= 4.6 && < 5,
+    chorale >= 0.1.1,
+    containers >= 0.5,
+    HUnit >= 1.2.5.2,
+    ieee754 >= 0.7.3,
+    QuickCheck >= 2.6,
+    safe >= 0.3.4,
+    test-framework >= 0.8.0.3,
+    test-framework-hunit >= 0.3.0.1,
+    test-framework-quickcheck2 >= 0.3.0.2
diff --git a/src/Chorale/Common.hs b/src/Chorale/Common.hs
--- a/src/Chorale/Common.hs
+++ b/src/Chorale/Common.hs
@@ -126,6 +126,9 @@
     deleteAll,
     deleteAlls,
     cartesian,
+    -- * Boolean Operations
+    xor,
+    xnor,
     -- * Number Operations
     average,
     -- * String Operations
@@ -639,6 +642,16 @@
 -- | cartesian product
 cartesian :: [a] -> [b] -> [(a, b)]
 cartesian as bs = [(a, b) | a <- as, b <- bs]
+
+-- --== BOOLEAN OPERATORS
+
+-- | xor function
+xor :: Bool -> Bool -> Bool
+xor a = xnor (not a)
+
+-- | xnor function
+xnor :: Bool -> Bool -> Bool
+xnor a b = (a && b) || (not a && not b)
 
 -- --== NUMBER OPERATIONS
 
diff --git a/tests/Test.hs b/tests/Test.hs
new file mode 100644
--- /dev/null
+++ b/tests/Test.hs
@@ -0,0 +1,9 @@
+import Chorale.Test.Common as ChoraleTestCommon
+
+import Test.Framework
+
+main :: IO ()
+main = defaultMainWithArgs testsToRun ["--maximum-generated-tests=1000"]
+
+testsToRun :: [Test]
+testsToRun = ChoraleTestCommon.tests
