Cleans up test files. Splits tests into separate files.
Splits tests into separate functions.
Merge pull request #11 from tcr/tcr-tests

Splits tests.