regression.check_namespaces function

Check that needed libraries are installed