test async get_posts