Unit tests brought into line with temporary fix

Also highligted that test cases require group ownership or admin if an
object is not owned