[Felix] added function to execute commands on rover and refactored tests.