[fix] test will not fail if no exception is raised