unit test pbpcontroller