diff --git a/tests/test_end_to_end.py b/tests/test_end_to_end.py
index baf6f1710952ec6e68cc58a00e519b40f43a95d6..5b3ed8b9a5fd0b776ac5b987c3a7c5003a9194d3 100644
--- a/tests/test_end_to_end.py
+++ b/tests/test_end_to_end.py
@@ -22,14 +22,14 @@ def test_wot():
 def test_id():
     """tests 'silkaj id' certification on gtest"""
 
-    output = check_output(["silkaj", "id", "elois", "--gtest"]).decode()
+    output = check_output(["silkaj", "--gtest", "id", "elois"]).decode()
     assert "D7CYHJXjaH4j7zRdWngUbsURPnSnjsCYtvo6f8dvW3C" in output
 
 
 def test_amount():
     """tests 'silkaj amount' command on gtest"""
 
-    output = check_output(["silkaj", "amount", "3dnbnYY9i2bHMQUGyFp5GVvJ2wBkVpus31cDJA5cfRpj", "--gtest"]).decode()
+    output = check_output(["silkaj", "--gtest", "balance", "3dnbnYY9i2bHMQUGyFp5GVvJ2wBkVpus31cDJA5cfRpj"]).decode()
     assert "Total amount of: 3dnbnYY9i2bHMQUGyFp5GVvJ2wBkVpus31cDJA5cfRpj" in output
     assert "Total Relative     =" in output
     assert "UD ÄžTest" in output