Fix Travis tests for contract and db test splits.
Fix file tests for contract test split.