Qt Design Patterns testing