Adding ->subtract method with test