Add test for hostAttrs