test private method