Added a testing framework
Updated the scenario calculator according to the changes in hazardlib