fix chroot test to make file in right place and unlink
fix chroot test to make file in right place and unlink