Added tests with qualified types