Fixed failing tests
test(admin): refactored and fixed admin tests