Adding a test and example for addif