Write back-end tests for TARA integration