Added programmatic portfolio creation (/test_portfolio)