Tests: added revision fixture

A test was failing because unit models rely on having a revision, which
was still missing.