unit tests unchecked type assertions