Fixed failing admin tests