I haven't looked carefully at your code yet, but can't you just simulate it? or does whatever compiler package you're using not allow that? From your code it looks to me like you might be using CC5x, which I've heard will allow simulation from within MPLAB... I would also recommend BoostC to you, which has an IDE and also integrates with MPLAB, either one of which allows you to run simulations before you worry about trying it out on a real PIC.
The PWM module doesn't require any external circuitry to operate, so as long as your code is correct you should see an output...