Replace 'read' with 'cat' in service test for Travis CI