diff --git a/cubicbezier.cabal b/cubicbezier.cabal
--- a/cubicbezier.cabal
+++ b/cubicbezier.cabal
@@ -1,5 +1,5 @@
 Name:		cubicbezier
-Version: 	0.6.0.3
+Version: 	0.6.0.4
 Synopsis:	Efficient manipulating of 2D cubic bezier curves.
 Category: 	Graphics, Geometry, Typography
 Copyright: 	Kristof Bastiaensen (2017)
diff --git a/tests/test.hs b/tests/test.hs
--- a/tests/test.hs
+++ b/tests/test.hs
@@ -37,7 +37,7 @@
           spaces; char '}'
           return node
 
-tensionAmount :: Parser Tension
+tensionAmount :: Parser (Tension Double)
 tensionAmount = do
   cons <- option Tension
           (string "atleast" >>
@@ -46,7 +46,7 @@
   n <- num
   return $ cons n
          
-tensionP :: Parser (Tension, Tension)
+tensionP :: Parser (Tension Double, Tension Double)
 tensionP =
   option (Tension 1, Tension 1) $
   do string "tension";
