added test findOne with/without exception