fixed revision attribute

turns out the original test was deficient

solution courtesy of @cdent