Fixed test for getValue method of attribute