Added tests for failing computations

For a clean diff https://github.com/gem/oq-engine-server/pull/25 should enter first