Added a unit test, but it is failing.