unit testing attributes post