Use Closes #4 to close ticket 4. closed, close, fix, fixed, and fixes will also close a ticket.
Test #4 will mark the ticket as "Ready to Test".
Re #4, references, refs and see will add a comment to the target ticket but leave it untouched.