addapt tests to debian 7