Adding test for getFirstPost