test for private pub