add post creation tests

Change-Id: Iab459ab08548018bde8630d0f71c2abe35f82778