Added DatabaseRule for replacing BeforeClass and AfterClass methods in tests.
Example LoggingRule class for practice purposes.
Added listAllPersonsFromDb method.