test: expand function definitions