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
Generally, .deleted != True or .deleted == False, not == 'F'

But will cleanup after merge.