test case for typedef
working and not working cases