added unit tests; added dockblocks and copyright; added travis-ci support
removed unused test file