Fix tests for debian due to init script changes

* Use of a shell variable threw the tests out