Fixed attribute test issue