Remove debug console.log
Fix searchPosts
Rudimentary tests for all remaining functions
Merge pull request #5 from christianbundy/euankdev

Fix searchPosts; write remaining tests