Fixed the unittests of the sample project