#JC-1647 Fixed unit test for last posts in branch