Added additional test cases for returning a single value.