Fix testing and tox configuration