Use 'exists?' rather than 'where' in topic deletion test case