Restore unit test from 4ba7c09 now that get_posts returns an array
Implement getting posts from slug with hash and post type