Introduce tox common test mechanism

Fix tests for that && use it travis