Updated package metadata. Pep8.
Doesn't try to set missing packages and config.
Moved tests under tests folder. Added passing tests.
Make tests folder a proper module.