Add tests runtimeexception