attribute resource test