Added tests for variable objects.