Issue #229: Fixed bug in tests.