diff --git a/unit-tests/add.sh b/unit-tests/add.sh
index 0dabb4c..552ea8d 100644
--- a/unit-tests/add.sh
+++ b/unit-tests/add.sh
@@ -1,7 +1,7 @@
 #!/bin/bash
 
 expected='5'
-actual=`echo "(add 2 3)" | target/psse 2> /dev/null | head -1`
+actual=`echo "(add 2 3)" | target/psse 2> /dev/null | head -2 | tail -1`
 
 if [ "${expected}" = "${actual}" ]
 then
diff --git a/unit-tests/complex-list.sh b/unit-tests/complex-list.sh
index 70ab629..d3728d8 100644
--- a/unit-tests/complex-list.sh
+++ b/unit-tests/complex-list.sh
@@ -1,7 +1,7 @@
 #!/bin/bash
 
 expected='(1 2 3 ("Fred") nil 77354)'
-actual=`echo "'(1 2 3 (\"Fred\") () 77354)" | target/psse 2> /dev/null | head -1`
+actual=`echo "'(1 2 3 (\"Fred\") () 77354)" | target/psse 2> /dev/null | head -2 | tail -1`
 
 if [ "${expected}" = "${actual}" ]
 then
diff --git a/unit-tests/empty-list.sh.bash b/unit-tests/empty-list.sh.bash
index 8e5d0b0..1e24452 100644
--- a/unit-tests/empty-list.sh.bash
+++ b/unit-tests/empty-list.sh.bash
@@ -7,7 +7,7 @@
 #
 
 expected=nil
-actual=`echo '()' | target/psse 2> /dev/null | head -1`
+actual=`echo "'()" | target/psse 2> /dev/null | head -2 | tail -1`
 
 if [ "${expected}" = "${actual}" ]
 then
diff --git a/unit-tests/empty-string.sh b/unit-tests/empty-string.sh
index 24bcd7a..340fd1b 100644
--- a/unit-tests/empty-string.sh
+++ b/unit-tests/empty-string.sh
@@ -1,7 +1,7 @@
 #!/bin/bash
 
 expected="\"\""
-actual=`echo '""' | target/psse 2> /dev/null | head -1`
+actual=`echo '""' | target/psse 2> /dev/null | head -2 | tail -1`
 
 if [ "$expected" = "$actual" ]
 then
diff --git a/unit-tests/fred.sh b/unit-tests/fred.sh
index 62af33f..427c60d 100644
--- a/unit-tests/fred.sh
+++ b/unit-tests/fred.sh
@@ -1,7 +1,7 @@
 #!/bin/bash
 
 expected='"Fred"'
-actual=`echo ${expected} | target/psse 2> /dev/null | head -1`
+actual=`echo ${expected} | target/psse 2> /dev/null | head -2 | tail -1`
 
 if [ "${expected}" = "${actual}" ]
 then
diff --git a/unit-tests/integer.sh b/unit-tests/integer.sh
index 828eace..41b2da3 100644
--- a/unit-tests/integer.sh
+++ b/unit-tests/integer.sh
@@ -1,7 +1,7 @@
 #!/bin/bash
 
 expected="354"
-actual=`echo ${expected} | target/psse 2> /dev/null | head -1`
+actual=`echo ${expected} | target/psse 2> /dev/null | head -2 | tail -1`
 
 if [ "${expected}" = "${actual}" ]
 then
diff --git a/unit-tests/nil.sh b/unit-tests/nil.sh
index 8e9aea6..de4ef57 100644
--- a/unit-tests/nil.sh
+++ b/unit-tests/nil.sh
@@ -1,7 +1,7 @@
 #!/bin/bash
 
 expected=nil
-actual=`echo 'nil' | target/psse 2> /dev/null | head -1`
+actual=`echo 'nil' | target/psse 2> /dev/null | head -2 | tail -1`
 
 if [ "${expected}" = "${actual}" ]
 then
diff --git a/unit-tests/quote.sh b/unit-tests/quote.sh
index 6785966..bded011 100644
--- a/unit-tests/quote.sh
+++ b/unit-tests/quote.sh
@@ -1,7 +1,7 @@
 #!/bin/bash
 
 expected='Fred'
-actual=`echo "'Fred" | target/psse 2> /dev/null | head -1`
+actual=`echo "'Fred" | target/psse 2> /dev/null | head -2 | tail -1`
 
 if [ "${expected}" = "${actual}" ]
 then
diff --git a/unit-tests/quoted-list.sh b/unit-tests/quoted-list.sh
index 6ba50cc..24480c6 100644
--- a/unit-tests/quoted-list.sh
+++ b/unit-tests/quoted-list.sh
@@ -1,7 +1,7 @@
 #!/bin/bash
 
 expected='(123 (4 (5 nil)) Fred)'
-actual=`echo "'(123 (4 (5 ())) Fred)" | target/psse 2> /dev/null | head -1`
+actual=`echo "'(123 (4 (5 ())) Fred)" | target/psse 2> /dev/null | head -2 | tail -1`
 
 if [ "${expected}" = "${actual}" ]
 then
diff --git a/unit-tests/simple-list.sh b/unit-tests/simple-list.sh
index 35ed153..60492b9 100644
--- a/unit-tests/simple-list.sh
+++ b/unit-tests/simple-list.sh
@@ -1,7 +1,7 @@
 #!/bin/bash
 
 expected="(1 2 3)"
-actual=`echo "'(1 2 3)" | target/psse 2> /dev/null | head -1`
+actual=`echo "'(1 2 3)" | target/psse 2> /dev/null | head -2 | tail -1`
 
 if [ "${expected}" = "${actual}" ]
 then
diff --git a/unit-tests/string-with-spaces.sh b/unit-tests/string-with-spaces.sh
index 53e00c0..384cc9f 100644
--- a/unit-tests/string-with-spaces.sh
+++ b/unit-tests/string-with-spaces.sh
@@ -1,7 +1,7 @@
 #!/bin/bash
 
 expected='"Strings should be able to include spaces (and other stuff)!"'
-actual=`echo ${expected} | target/psse 2> /dev/null | head -1`
+actual=`echo ${expected} | target/psse 2> /dev/null | head -2 | tail -1`
 
 if [ "${expected}" = "${actual}" ]
 then