Fix last of the tests

Add ability to get version of prince.
Fixed issue with logging.