Bugfix to log in SimpleTest example.