Update schema.rb to include test_files table, validate uniqueness of TestFile filename, fix failing tests in unit/test_file_test.rb