diff --git a/test/cleanup.m b/test/cleanup.m
index 1f73825db1145b6d68bc2a6cbe4d420e4743975f..b98266b533c8498ccb7d1f9ceb4a5b927d87a6bc 100644
--- a/test/cleanup.m
+++ b/test/cleanup.m
@@ -25,8 +25,8 @@ function cleanup()
   ids = caosdb_get_ids(c.query('FIND ENTITY WITH ID > 99'));
   result = c.delete_by_id(ids);
 
-%
-% If FILENAMES is given, it must be a cell string array with filenames to delete.
+  %
+  % If FILENAMES is given, it must be a cell string array with filenames to delete.
   % for filename = filenames
   %   filename = filename{1};
   %   fsdelete(filename)          % TODO
diff --git a/test/test_files.m b/test/test_files.m
index 657abe8f882bc42d3f5e9d76f62c3b96b54848d5..656c7db0607443e892b3c28755972251312d7349 100644
--- a/test/test_files.m
+++ b/test/test_files.m
@@ -76,11 +76,6 @@ function test_insert_file()
   end
   download_result = c.download_file_by_single_id(F1_id, outfilename_1);
 
-  disp(outfilename_1);
-  disp(download_result);
-  download_result.get_errors()
-  download_result.get_warnings()
-
   fid_orig = fopen(filenames{1}, "r");
   fid_retr = fopen(outfilename_1, "r");
   [data_orig, count_orig] = fread(fid_orig, Inf, "*uint8");
@@ -94,7 +89,6 @@ function test_insert_file()
   % cleanup();
 end
 
-
 % Utility functions %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 %% print the messages into a cell
diff --git a/test/test_query_retrieve.m b/test/test_query_retrieve.m
index 7d4b02be823d123dc19571873181e813c7c799af..0afdc4f440220378c086da5849899e0b0ceea857 100644
--- a/test/test_query_retrieve.m
+++ b/test/test_query_retrieve.m
@@ -171,7 +171,6 @@ function test_execute_query_failure()
   assertTrue(isempty(results));
 end
 
-
 %% Utility functions %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 %% Return a struct with the IDs
@@ -204,9 +203,9 @@ function ids = insert_data()
   ids.RT1 = c.insert({RT1}){1}.id;
 
   par = Parent();
-  par.id =ids.RT1;
+  par.id = ids.RT1;
 
-  RT1.set_parents({par})        % self-inheritance RT1 <|- RT1
+  RT1.set_parents({par});        % self-inheritance RT1 <|- RT1
   RT1.id = ids.RT1;
 
   c.update({RT1});
diff --git a/test/test_transaction.m b/test/test_transaction.m
index 2173c9316e7aeba29c55883330bae99c4a431da3..31de63b623c3dd822640f7e88ae4b41c30808d37 100644
--- a/test/test_transaction.m
+++ b/test/test_transaction.m
@@ -179,7 +179,7 @@ function test_update_entity()
   %% TODO(dh) units
   % P1.unit = "Whales";
   P1.set_datatype("INTEGER", false, true);
-  P1.value = int64([1, 2, 3, 4, 2^31-1, -2^31]);
+  P1.value = int64([1, 2, 3, 4, 2^31 - 1, -2^31]);
 
   P1_id = c.insert({P1}){1}.id;
   % disp(P1)