test return instead of set manually