Added additional functions and their tests
Removed capybara-webkit as we are using phantomjs