debuginfo: Added test cases for static struct and enum methods.