title: Possible to get R5RS code to work with SchemeUnit?
body: <p>In a class I am taking we are using the old R5RS standard of Scheme to solve SICP assignments. I like to do test first development, so I figured a unit testing framework would be nice, and I chose SchemeUnit for writing the small tests.</p>
  
  <p>This has worked fine so far, just testing primitives in the output (strings, numbers, ...), but I hit a road block when trying to test lists. It  has probably something to do with differences in the Scheme dialect used to run the tests:</p>
  
  <p><strong>foo.scm:</strong> <code>(define a-list (list 2))</code></p>
  
  <p><strong>foo-tests.scm:</strong>  <code>(check-equal? a-list (list 2))</code></p>
  
  <p>Result when running the tests:</p>
  
  <pre><code>Unnamed test 
  FAILURE
  name:       check-equal?
  location:   tester.scm:22:3
  actual:     {2}
  
  expected:   (2)
  </code></pre>
  
  <p>To make the test suite run, I have to add <code>"#lang scheme/base</code>  to the top of foo-tests.scm and <code>require</code> the schemeunit package. In foo.scm I need to have <code>#lang r5rs</code> and <code>(#%provide (all-defined))</code> at the top. </p>
  
  <p>I guess lists are somehow differently implemented in R5RS and "scheme/base". Any way to get them to work together? And why does it fail ({} vs ())?</p>