Parameter handling on fetchAll

Other minor fixes; test namespaces;