Enabeling unit test without exception