Split requirements into base/test.
Fixed Travis CI requirements.