remove publish/unpublished cruft from search api, update tests