added more tests and fixed a few problems that were found while writing them
Merge pull request #8 from ajragusa/1.0.0-dev

added more tests and fixed a few problems that were found