Added preliminary tests and SA calculation
Added preliminary tests and SA calculation


Former-commit-id: ab265673baab94f86a1d26af548b594a890da015
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine