Move admin.test to lua