package creation with samples from gtest documentation