-- adding just code for namespace generation
-- fixing the context-input-predicate function
-- abstracting out process-namespace function, and adding test