Added tests of GetAttribute