Fix test to reflect changes in the API.
Removed special case for py3.3 and made all python versions use the same setup.
Fix code to pass all tests with the new stricter pylint setup.