added tests, pep8 format
added test for update
testing deletion of all rows
fixed bug in deletion of all rows