Added test for fully qualified classes in trait return types