Some basic tests.
Rename test and add to setup.py.
Adjust line length of license file to avoid pep8 warning.