Reformat of test cases. It can now processes auto reference structures.