Added tests for DTOs.