Add unit-tests for the admin interface