Merge "Add atexit test for attributed c-tor/d-tor"