@Test
public void testSetNamespace()
{

    String oldnamespace = ms.getNamespace();
    String namespace = "new namespace";
    ms.setNamespace(namespace);
    assertThat("testSetNamespace 0",ms.getNamespace(),notNullValue());
    assertThat("testSetNamespace 1",ms.getNamespace(),not(equalTo("")));
    assertThat("testSetNamespace 2",ms.getNamespace(),equalTo(namespace));
    //we restore the old namespace to avoid issues in other tests
    ms.setNamespace(oldnamespace);
}