add tests for method orElse