test for mcmcdb_flatten,list includes a numeric vector element
added source_env and source_list functions