Added some unit tests for the Portfolio class