fixed tests for debian8