added a few extra asserts to the portfolio tests
fixed a typo in a test I was looking at