fix unit test that was falling silently