Changing file permissions for tests to run (derp) & fixing broken tests