String contains test rewritten pytest-style
Travis setup for pytest