Add unit tests for IVariableController

Authored by qi437103 on May 4 2016, 1:29 AM.