Here can you add an assertion to check that it raise ValueError?