Stub functions, package and tests structure