Add dev-requirements.txt to make bootstrapping development environment easier.
Add PEP8 testing, fix error when accepting str input, elaborate tests.
Add further tests, fix regression.