Tests and Broker updated

- Data Manager tests added and fixed
- Broker buffer overflow  managed
- Code_coverage script fixed