set defauled admin page to index
fixed misc test bugs