Changing permissions of test files and fixing lint violations