Improve RuntimeError Tests