moved p_meta to abstract class & impl for gmock