ticket:8 Replaced slice operator with assertIn