updated tests (with conditional testing only when module is available)