Logging for smoke tests in a txt file and other small modifications

* Updating setup script to take care of requests dependency
* Adding a new keyword to count the number of entries in a table
* Don't follow external links unless explicitly requested in smoke tests