Nitpick: In the last term, the minus sign is a binary operator, so there should be spaces on both sides of it.  (Same comment applies in the change to the test.)