add test for adminport