Define tests functions used as a dependency explicitly