Fixed Specs

Fixed existing failing specs and refactored it. Here is the <a href = "https://circleci.com/gh/rohandaxini/knowbuddy/tree/clean_test"> Build Status</a>
Can you please review and merge it?
Thanks.