fixed issues with mocking private class/typedef arguments in fields
fixed broken test on cpp / flash with mocked typedef structure