updated portfolio test