Added tox for test automation

tox script separates the testing environment for postgres , coverage and regular test