compilation errors resolved in tests-sample module