Add test for a PartialFunction without a defined value