Fix test compile error.
Merge pull request #811 from kacfengine/master

Fix test