Added 'getter'-method for the database name to the public interface.
Added failure messages to the unit tests, and minor other improvements.