add more tests for getLogDetails without entering any data in the
database before the tests