Fix a small error in aliasing attributes
Unit test for multi layered
Clean up test