Add value_or utility method. +tests.