If you are flying on and logging under FAA then any BFR is PIC, as is sucessful check rides. Basically, if you are rated for the aircraft then you can log it as PIC, even if a CFI (FI) is onboard.
Under JAA, anytime an instructor is onboard you log it as dual. Regarding skill tests, I'm not so sure under JAA.
Hope this helps.