tests: fix wrong file permission