Fix unit test compiles by adding stubs