Clean up and improve tests for posts.js/taxonomies.js