tests: added outparam test