This might help in the quest to have a working unit test.