add portfolio generator to testhelper