covered runtimeException with test