refactoring topics_for method
updating tests info
fixing categories property