Added unit tests for 'extract_yaml_value' function.