Add tests for common module functions in Plan controller

Change-Id: Ib88339a2cab36f3c9ca8f716d6928dc1c4e501f2
Merge "Add tests for common module functions in Plan controller"