wrotes the test for empty,add and made it to pass