Test case added

Handles error
which is currently commented in -> testadd()