Added a better test tool using GTestUtils, and for better test, sync functions to the
library