completed rspec tests for topics model