modify tests to test delete function, and to print output to same log file