[ModelTest] Added Qt ModelTest

Fixed to work with both Qt 4 & Qt 5