use pwd for test cookbook instead of workaround