Made getPosts return some test data so that client side dummy posts could be removed.