Adding Travis rule and fixing test imports.