Controller test for review

Hi ,

I couldnot get the controller test I authored in this commit to work. feedback is appreciated.

Thanks,
Sowjanya