Added methods for Search and Posts along with their simple tests