added a test for the hazard getter
added a test for the hazard getter


Former-commit-id: 23f581115ab170ed14a03880032677c61d5fad40 [formerly 508b7b466b1b68e104c5fb60d771102b0df77b06] [formerly 508b7b466b1b68e104c5fb60d771102b0df77b06 [formerly 558480fbb28b945721bb167494cda20f7f0407bd]]
Former-commit-id: 771b46f602014faec686c4d47dc95fbb50d85c27
Former-commit-id: cbbbf0f40e18d32594bebb4e55a3285c02cc1083
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine