Test files on `tests` folder.

Using nosetests, modifying assertEqual to assertTrue when necessary.