Added unit test for failing use case. Code needs to be corrected accordingly.