fixed tests involving runtime exceptions, resolves #29
merge attempt 2