added tests p.84
added RuntimeError