No need for assigning a local amount variable here, can just reuse @amount in the two lines of this test it is used.