Added test for private and public logs