Testing pow authenticated controllers

Could you show your complete test?