bugfix unit test, follows 12d7a8c