Add timeout to attr accessor, modify unit_test to account for input of time out arg.