pass the test of getOrElse