#1384 Fixed unit test failure