Add test for checking prefix resolving in typedef