Rename pyoc to dpy

Also adding a test to make sure overwriting the parameter is allowed even if the parameter is not provided.