add positive/negative test cases for public/private creation. Also - fixed the mock infrasturcture for the confirm dialog