testing attribute resource