Added tests for diff of undef structures.