Move auto-total testing from handler to DTO entity

Move auto-total from handler (wrong domain) to DTO entity (correct domain)