fix tests in class. Fixes #1, #2, #3, #4
Merge branch 'master' of github.com:elliotec/portfolio