Taking id for attributes value
Adding a unit test for case issues