It is missing tests for the exception case.