renamed so unittest discover will find it.
substituted assert methods with more appropriate ones
Merge pull request #4 from Rio/unittests

Unittests