fix P and D value bugs in BRK test.
actually set SP when beginning a test.