Tests are located in the tests directory. To run the test suite, simply run on the command line:
tests
./runtests.py