fixed file permissions, removed dead tests