Add tests
I'm hesitant to finalize !69 (closed) given that there are no tests in losscalculator
. I don't know the internals of losscalculator
which makes it even more important that there are tests so I (or anyone else) doesnt break functionality by accident. Thus, please add tests.