added tests to admin