So why does unit test not catch it?