Fix testing

- multiprocess testing
- fixed postgress setup
Add travis file