[TASK] Clean up trustline test code, change parameter names, function signatures