added tests for addSub